//
//  HouseModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/9/13.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HouseModel : NSObject

@property (nonatomic, copy) NSString* houseRentalID; //ID
@property (nonatomic, copy) NSString* title; //标题
@property (nonatomic, copy) NSString* address; //地址
@property (nonatomic, copy) NSNumber* distance; //距离
@property (nonatomic, copy) NSNumber* rentNumber; //房租
@property (nonatomic, copy) NSString* area; //面积
@property (nonatomic, copy) NSString* bedroom; //户型
@property (nonatomic, copy) NSString* desc; //描述
@property (nonatomic, copy) NSString* contactName; //联系人名称
@property (nonatomic, copy) NSString* contactMobile; //联系人号码
@property (nonatomic, copy) NSString* communityId; //小区ID
@property (nonatomic, copy) NSString* updateTime; //刷新时间（发布时间）
@property (nonatomic, copy) NSNumber* houseRentalType; //租赁类型：我发布的租赁，我的预约租赁，普通的租赁？？？
@property (nonatomic, copy) NSNumber* isCollect; //是否收藏
@property (nonatomic, copy) NSNumber* houseRentalState; //租赁状态：审核中，已发布，被预约，没被预约
@property (nonatomic, copy) NSString* pic1;
@property (nonatomic, copy) NSString* pic2;
@property (nonatomic, copy) NSString* pic3;
@property (nonatomic, copy) NSString* pic4;
@property (nonatomic, copy) NSString* pic5;

@property (nonatomic, copy) NSString* communityName; //小区
@property (nonatomic, copy) NSString* face; //朝向
@property (nonatomic, copy) NSString* floor; //楼层
@property (nonatomic, copy) NSString* houseId;

//@property (nonatomic, copy) NSString* bigImageLocalPath; //大图本地路径
//@property (nonatomic, copy) NSString* bigImageServerPath;
//@property (nonatomic, copy) NSString* bigImageLocalPath1; //大图本地路径
//@property (nonatomic, copy) NSString* bigImageServerPath1;
//@property (nonatomic, copy) NSString* bigImageLocalPath2; //大图本地路径
//@property (nonatomic, copy) NSString* bigImageServerPath2;
//@property (nonatomic, copy) NSString* bigImageLocalPath3; //大图本地路径
//@property (nonatomic, copy) NSString* bigImageServerPath3;
//@property (nonatomic, copy) NSString* bigImageLocalPath4; //大图本地路径
//@property (nonatomic, copy) NSString* bigImageServerPath4;
//

//@property (nonatomic, copy) NSString* communityName; //小区
//@property (nonatomic, copy) NSNumber* isShouldDelete; //软删除，等程序启动后才真正删除
//@property (nonatomic, copy) NSString* systemAccountID; //所属的账号ID
//@property (nonatomic, copy) NSNumber* isRead; //是否已读

//entity.houseRentalID = [dic objectForKey:@"houseRentalID"];
//entity.title = [dic objectForKey:@"title"];
//entity.address = [dic objectForKey:@"address"];
//entity.distance = [dic objectForKey:@"distance"];
//entity.rentNumber = [dic objectForKey:@"rentNumber"];
//entity.desc = [dic objectForKey:@"description"];
//entity.updateTime = [dic objectForKey:@"updateTime"];
//entity.bigImageServerPath = [dic objectForKey:@"pic1"];
//entity.bigImageServerPath1 = [dic objectForKey:@"pic2"];
//entity.bigImageServerPath2 = [dic objectForKey:@"pic3"];
//entity.bigImageServerPath3 = [dic objectForKey:@"pic4"];
//entity.bigImageServerPath4 = [dic objectForKey:@"pic5"];

//entity.title = [userInfo objectForKey:@"title"];
//entity.desc = [userInfo objectForKey:@"desc"];
//entity.communityID = [userInfo objectForKey:@"communityId"];
//entity.contactName = [userInfo objectForKey:@"contactName"];
//entity.contactMobile = [userInfo objectForKey:@"contactMobile"];
//entity.floor = [userInfo objectForKey:@"floor"];
//entity.area = [userInfo objectForKey:@"area"];
//entity.bedroom = [userInfo objectForKey:@"bedroom"];
//entity.communityName = [userInfo objectForKey:@"communityName"];
//entity.address = [userInfo objectForKey:@"address"];
//entity.bigImageLocalPath4=[userInfo objectForKey:@"face"];//用了一个闲余字段来存朝向
//entity.rentNumber = [userInfo objectForKey:@"rentNumber"];
//entity.updateTime = [[userInfo objectForKey:@"updateTime"] dateValueWithFormatString:kTimeFormatStringSec];
//entity.bigImageServerPath =[userInfo objectForKey:@"pic1"];
//entity.bigImageServerPath1=[userInfo objectForKey:@"pic2"];
//entity.bigImageServerPath2=[userInfo objectForKey:@"pic3"];
//entity.bigImageServerPath3=[userInfo objectForKey:@"pic4"];
//entity.bigImageServerPath4=[userInfo objectForKey:@"pic5"];

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end
